You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TVec Class > TVec Methods > StripNanAndInf Method > TVec.StripNanAndInf Method ([In] TMtxVec, int, int, int)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TVec.StripNanAndInf Method ([In] TMtxVec, int, int, int)

Copies only those values from Src[SrcIndex.. SrcIndex+Len-1], which are not NAN or INF.

Syntax
C#
Visual Basic
public int StripNanAndInf([In] TMtxVec Src, int SrcIndex, int Index, int Len);

The length of the Self is not modified. The funtion returns "Index" increased by Number of elements found. The calling vector must have enough space to hold at least Index+Len elements, or an exception will be raised.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!